package com.pubpage.flow.flow_note_add;

public class View {
   public View(){
      setMultiLang();
   }
   private String gstrOnloadScript;
   public String getOnloadScript(){
      return this.gstrOnloadScript;
   }
   public void setOnloadScript(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrOnloadScript=pstrParameter;
   }
   private String gstrPrgAction;
   public String getPrgAction(){
      return this.gstrPrgAction;
   }
   public void setPrgAction(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrPrgAction=pstrParameter;
   }
   private String gstrPrgStatus;
   public String getPrgStatus(){
      return this.gstrPrgStatus;
   }
   private String db_alias;
   public String getDb_alias(){
      return this.db_alias;
   }
   public void setDb_alias(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.db_alias=pstrParameter;
   }
   private boolean db_debug=false;
   public boolean getDb_debug(){
      return this.db_debug;
   }
   public void setDb_debug(boolean pblnParameter){
      this.db_debug=pblnParameter;
   }
   private String source_charset="utf-8";
   public String getSource_charset(){
      return this.source_charset;
   }
   public void setSource_charset(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.source_charset=pstrParameter;
   }
   private String target_charset="utf-8";
   public String getTarget_charset(){
      return this.target_charset;
   }

    public String getRout_no() {
        return rout_no;
    }

    public String getR_empno() {
        return r_empno;
    }

    public String getFlow_num() {
        return flow_num;
    }

    public String getFlow_no() {
        return flow_no;
    }

    public String getRights() {
        return rights;
    }

    public String getData_kind() {
        return data_kind;
    }

    public String getBtnExitTitle() {
        return btnExitTitle;
    }

    public String getBtnConfirmTitle() {
        return btnConfirmTitle;
    }

    public String getBtnCancelTitle() {
        return btnCancelTitle;
    }

    public String getPrgNote() {
        return prgNote;
    }

    public String getNote_kind() {
        return note_kind;
    }

    public String getSign_note() {
        return sign_note;
    }

    public String getTd_header_css() {
        return td_header_css;
    }

    public String getTd_content_css() {
        return td_content_css;
    }

    public String getFlow_code() {
        return flow_code;
    }

    private String gstrPrgTitle;
   public String getPrgTitle(){
      return this.gstrPrgTitle;
   }
   public void setPrgTitle(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrPrgTitle=pstrParameter;
   }
   public void setTarget_charset(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.target_charset=pstrParameter;
   }

    public void setRout_no(String rout_no) {
        this.rout_no = rout_no;
    }

    public void setR_empno(String r_empno) {
        this.r_empno = r_empno;
    }

    public void setFlow_num(String flow_num) {
        this.flow_num = flow_num;
    }

    public void setFlow_no(String flow_no) {
        this.flow_no = flow_no;
    }

    public void setRights(String rights) {
        this.rights = rights;
    }

    public void setData_kind(String data_kind) {
        this.data_kind = data_kind;
    }

    public void setBtnExitTitle(String btnExitTitle) {
        this.btnExitTitle = btnExitTitle;
    }

    public void setBtnConfirmTitle(String btnConfirmTitle) {
        this.btnConfirmTitle = btnConfirmTitle;
    }

    public void setBtnCancelTitle(String btnCancelTitle) {
        this.btnCancelTitle = btnCancelTitle;
    }

    public void setPrgNote(String prgNote) {
        this.prgNote = prgNote;
    }

    public void setNote_kind(String note_kind) {
        this.note_kind = note_kind;
    }

    public void setSign_note(String sign_note) {
        this.sign_note = sign_note;
    }

    public void setTd_header_css(String td_header_css) {
        this.td_header_css = td_header_css;
    }

    public void setTd_content_css(String td_content_css) {
        this.td_content_css = td_content_css;
    }

    public void setFlow_code(String flow_code) {
        this.flow_code = flow_code;
    }

    private String flow_num=null;
   private String flow_code=null;
   private String flow_no=null;
   private String rout_no=null;
   private String r_empno=null;
   private String rights=null;
   private String data_kind=null;
   private String note_kind=null;
   private String sign_note=null;

   private String prgNote=null;
   private String btnConfirmTitle=null;
   private String btnCancelTitle=null;
   private String btnExitTitle=null;

   private String td_header_css=null;
   private String td_content_css=null;

   private void setMultiLang(){
       //跨war無法讀取properties
      //ResourceBundle rbdTitleResource=ResourceBundle.getBundle("com\\pubpage\\flow\\flow_note_add\\Multi-lang",Locale.getDefault());

      try{
          setBtnConfirmTitle("確認");
          setBtnCancelTitle("清除");
          setBtnExitTitle("離開");
      }
      catch(Exception e){
         e.printStackTrace();
      }
   }
}
